package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;


public interface EmployeeService {
    ResultInfo login(String username,String password);

    List<Employee> findlist(String name);

    void save(Employee employee);

    Employee findById(Long id);

    void update(Employee employee);

}
